﻿@{
    ViewBag.Title = "Index";
    
}
<div>
    This page is appointed for select and buying products<br />
    Order Id #: @ViewBag.orderId<br /><br />
</div>
    @Html.ActionLink("Add Item", "AddItem", new { orderId = @ViewBag.orderId }, new { @class = "buttons-yellow" })
<div id="table">
    @Html.Partial("~/Views/Ordering/OrderDetailsTable.cshtml")
</div>
<img id="loading" src="@Url.Content("~/Content/images/loading.gif")" style="display:none" />
<div style="margin-top:20px;"> 
    <div class="panel-text-left">
        Totals
        </div>
    <div class="panel-text-center">
        Card Info
        </div>
</div> 
<div id="info">

    <div class="totals-info label">
        <table class="ordering-table">
            <tr>
                <td>Order Number</td>
                <td>@Html.TextBox("orderNumber", "",new { @class = "admin-drop-list border" })</td>
            </tr>
            <tr>
                <td>Status</td>
                <td>Ordered</td>
            </tr>
            <tr>
                <td>Total Price</td>
                <td>1020.00$</td>
            </tr>
            <tr>
                <td>Total Number of Items</td>
                <td>12</td>
            </tr>
            <tr>
                <td>Date of Ordering</td>
                <td>12/2/2010</td>
            </tr>
             <tr>
                <td>Preferable Delivery Date</td>
                <td>@Html.TextBox("deliveryDate", " / / ",new {@id = "datepicker", @class = "admin-drop-list border" })</td>
            </tr>
            <tr>
                <td>Delivery Date</td>
                <td> / /</td>
            </tr>
            <tr>
                <td>Assignee</td>
                <td> @Html.DropDownList("selectItemOnPage", new SelectList(new string[] { "Merchendizer", "Merchendizer2", "Merchendizer3" }),new { @id ="combobox"})</td>
            </tr>
        </table>
    </div>
    <div class="card-info  label">
                <table class="ordering-table" >
                    <tr>
                        <td>Credid Card Type *</td>
                        <td>@Html.DropDownList("selectItemOnPage", new SelectList(new string[] { "Visa", "Maestro" }),new { @id ="combobox1" })</td>
                    </tr>
                    <tr>
                        <td>Credid Card Number *</td>
                        <td>@Html.TextBox("cardNumber", "",new { @class = "admin-drop-list border" })</td>
                    </tr>
                    <tr>
                        <td>CVV2 Code</td>
                        <td>@Html.TextBox("cvv2", "",new { @class = "admin-drop-list border" })</td>
                    </tr>
                    <tr>
                        <td>Expiry Date *</td>
                        <td>@Html.TextBox("date"," / / ",new {@id = "datepicker1", @class = "admin-drop-list border" })</td>
                    </tr>
                    <tr>
                        <td>Start Date (Maestro only) *</td>
                        <td>@Html.TextBox("date"," / / ",new {@id = "datepicker2", @class = "admin-drop-list border" })</td>
                    </tr>
                     <tr>
                        <td>Issue Number (Maestro only)</td>
                        <td>@Html.TextBox("date","",new { @class = "admin-drop-list border" })</td>
                    </tr>
           <tr>
               <td></td>
               <td><span style="color:red;">* fields are mandatory</span></td>
           </tr>
        </table>

    </div>
</div>
            <div style="text-align:right;">
                <button type="submit" name="action" value="Create" class="buttons-blue">Save</button>
                <button type="reset" name="action" value="Refresh" class="buttons-yellow">Order</button>
                <button type="button" name="action" onclick="location.href='Index'" class="buttons-red">Cancel</button>
                
            </div>
<br />
